package com.zhijian.medical.dao.local;

import com.zhijian.medical.entity.po.Product;
import com.zhijian.medical.entity.vo.request.ProductSearchVo;
import com.zhijian.medical.entity.vo.response.ProductVo;

import java.util.List;

public interface ProductMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Product record);

    int insertSelective(Product record);

    Product selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Product record);

    int updateByPrimaryKey(Product record);

    int count(ProductSearchVo productSearchVo);

    List<ProductVo> selectList(ProductSearchVo productSearchVo);

    ProductVo selectVoById(Long id);
}